package iterator

type UserCollection struct {
	User []*User
}

func (u *UserCollection) CreateIterator() Iterator {
	return &userIterator{
		index: 0,
		users: u.User,
	}
}
